//
//  CXHAdapterNativeCallBack.h
//  CXHAdSDK
//
//  Created by 陈坤 on 2022/5/4.
//

#ifndef CXHAdapterNativeCallBack_h
#define CXHAdapterNativeCallBack_h
#import "CXHAdapterCommonCallBack.h"
#import "CXHAdapterNativeAdViewDelegate.h"

@class CXHAdapterNativeAdapter;

@protocol CXHAdapterNativeCallBack <CXHAdapterCommonCallBack>

- (void)nativeAdSuccessToLoadCallBack:(CXHAdapterNativeAdapter *)adapter
                         nativeExpressAdView:(NSArray<__kindof UIView <CXHAdapterNativeAdViewDelegate> *> *)nativeExpressAdViewArray;

- (void)nativeAdFailToLoadCallBack:(CXHAdapterNativeAdapter *)adapter
                             error:(NSError *)error;

//- (void)nativeAdRenderSuccessCallBack:(CXHAdapterNativeAdapter *)adapter
//                         nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeExpressAdView;
//
//- (void)nativeAdRenderFailCallBack:(CXHAdapterNativeAdapter *)adapter
//                      nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeExpressAdView;

- (void)nativeAdExposureCallBack:(CXHAdapterNativeAdapter *)adapter
                    nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeAdView;

- (void)nativeAdExposureReportCallBack:(CXHAdapterNativeAdapter *)adapter
                    nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeAdView;

- (void)nativeAdClickedCallBack:(CXHAdapterNativeAdapter *)adapter
                   nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeAdView  loadingPageURL:(NSString *)loadingPageURL;

- (void)nativeAdClickedReportCallBack:(CXHAdapterNativeAdapter *)adapter
                   nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeAdView;

- (void)nativeAdCloseCallBack:(CXHAdapterNativeAdapter *)adapter
                 nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeAdView;

- (void)nativeAdCloseLandingPageCallBack:(CXHAdapterNativeAdapter *)adapter
                 nativeExpressAdView:(__kindof UIView <CXHAdapterNativeAdViewDelegate> *)nativeAdView;


@end

#endif /* CXHAdapterNativeCallBack_h */
